function changetabs(temp) {
	if (temp != currenttab) {
		currenttab = temp;
		currentpage = 1;
		pages = 1;

		ldata = null;
		status = 30 + parseInt(temp);
		$pagecontainer.empty();
		$ul.empty();
		$pagecontainer = $('#pagecontainer' + temp);
		$ul = $('#page' + temp);

		init();
	}
}
function further(className, id) {
	var index = id.replace(className, "");

	if (className == 'agreereq') {

		opFunction(domain + '/changeDiffReqJob.do', {
			'status' : 31,
			'reqid' : ldata[index].id
		});

	}

	if (className == 'disagreereq') {
		opFunction(domain + '/changeDiffReqJob.do', {
			'status' : 32,
			'reqid' : ldata[index].id
		});

	}
}
function getdiffrequsercontent(url, parameters, $pagecontainer) {

	myAjax(url, parameters, function(data) {
		ldata=data;

    if(status==30)
		drawdiffrequsercontent($pagecontainer, data);
    else
		drawdiffrequsercontentagree($pagecontainer, data);
        
	    
		if(status==31&&personnum<=data.length&&jobstatus!=40)
			{
			
		$confirm.modal();
			
			}
	});
}

